package com.softtek.ibeacon.entity;

import java.util.HashSet;
import java.util.Set;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "storeinfo")
public class  Storeinfo implements java.io.Serializable {

	@Id

	@Column(name = "id", unique = true, nullable = false)

	private Integer id;

	@Column(name = "storename", nullable = false, length = 100)

	private String storename;

	@Column(name = "address")

	private String address;

	@Column(name = "contacts")

	private String contacts;

	@Column(name = "contactphone", length = 20)

	private String contactPhone;

	private Set employees = new HashSet(0);

	public Storeinfo() {
	}

	public Storeinfo(Integer id, String storename) {
		this.id = id;
		this.storename = storename;
	}

	@Id

	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "storename", nullable = false, length = 100)
	public String getStorename() {
		return this.storename;
	}

	public void setStorename(String storename) {
		this.storename = storename;
	}

	@Column(name = "address")
	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "contacts")
	public String getContacts() {
		return this.contacts;
	}

	public void setContacts(String contacts) {
		this.contacts = contacts;
	}

	@Column(name = "contactphone", length = 20)
	public String getContactPhone() {
		return this.contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

}
